<?php 
$this->headScript()
	->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.core.js")
	->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.widget.js")
	->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.button.js");

$this->headLink()->appendStylesheet($this->baseUrl(). '/js/jquery/development-bundle/themes/ui-lightness/jquery.ui.all.css');
$this->headTitle('Modificación de Metatags');
?>

<div class="section">
	<div class="section_inner">
		<p class="errorText">&nbsp;<?php echo $this->message; ?></p>
		<div class="title_wrapper">
			<h2>Modificación de Metatags</h2>
		
		</div>
		<div class="section_content">
<form action="<?php echo $this->baseUrl();?>/admin/seo/add/Id/<?php echo (int) $this->Data['Id']; ?>/"  method="post" id="addform"  class="search_form general_form">
<!--[if !IE]>start fieldset<![endif]-->
			<fieldset>
			<!--[if !IE]>start forms<![endif]-->
			<div class="forms">			
			<input type="hidden" name="Id" value="<?php echo (int) $this->Data['Id']; ?>" />			
			  
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Titulo del sitio:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="Title" id="Title" size = "53" maxlength = "100" value="<?php echo $this->Data['Title'];?>" />
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			 
			 

			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Asunto:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="Subject" id="Subject" size = "53" maxlength = "100" value="<?php echo $this->Data['Subject'];?>" />
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
		
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Ciudad:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="City" id="City" size = "53" maxlength = "100" value="<?php echo $this->Data['City'];?>" />
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
	 		
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Estado:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="Country" id="Country" size = "53" maxlength = "100" value="<?php echo $this->Data['Country'];?>" />
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
	 	 		
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Descripción:</label>
				<div class="inputs">
					<textarea class="text" name="Description" cols="40" rows="4" id="Description"><?php echo $this->Data['Description'];?></textarea>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
	 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Destribución:</label>
				<div class="inputs">
					<select name="Distribution" id="Distribution">
    <option value="Global" label="Global" <?php echo  ($this->Data['Distribution']=="Global")? 'selected="selected"' : '';?>>Global</option>
    <option value="Local" label="Local" <?php echo  ($this->Data['Distribution']=="Local")? 'selected="selected"' : '';?>>Local</option>
</select>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
	 

	 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Palabras clave:</label>
				<div class="inputs">
					<textarea name="Keywords" id="Keywords" cols="40" rows="7"><?php echo $this->Data['Keywords'];?></textarea>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->



	 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Robots:</label>
				<div class="inputs">
					<select name="Robots" id="Robots">
					    <option value="All" label="All" <?php echo  ($this->Data['Robots']=="All")? 'selected="selected"' : '';?>>All</option>
					    <option value="None" label="None" <?php echo  ($this->Data['Robots']=="None")? 'selected="selected"' : '';?>>None</option>
					    <option value="Index" label="Index" <?php echo  ($this->Data['Robots']=="Index")? 'selected="selected"' : '';?>>Index</option>
					    <option value="No Index" label="No Index" <?php echo  ($this->Data['Robots']=="No Index")? 'selected="selected"' : '';?>>No Index</option>
					    <option value="Follow" label="Follow" <?php echo  ($this->Data['Robots']=="Follow")? 'selected="selected"' : '';?>>Follow</option>
					    <option value="No Follow" label="No Follow" <?php echo  ($this->Data['Robots']=="No Follow")? 'selected="selected"' : '';?>>No Follow</option>
					
					</select>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->


	 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Revisita:</label>
				<div class="inputs">
					<select name="Revisit" id="Revisit">
					    <option value="1 day" label="1 dia" <?php echo  ($this->Data['Revisit']=="1 day")? 'selected="selected"' : '';?>>1 dia</option>
					    <option value="2 days" label="2 dias" <?php echo  ($this->Data['Revisit']=="2 days")? 'selected="selected"' : '';?>>2 dias</option>
					    <option value="3 days" label="3 dias" <?php echo  ($this->Data['Revisit']=="3 days")? 'selected="selected"' : '';?>>3 dias</option>
					    <option value="4 days" label="4 dias" <?php echo  ($this->Data['Revisit']=="4 days")? 'selected="selected"' : '';?>>4 dias</option>
					    <option value="5 days" label="5 dias" <?php echo  ($this->Data['Revisit']=="5 days")? 'selected="selected"' : '';?>>5 dias</option>
					    <option value="7 days" label="7 dias" <?php echo  ($this->Data['Revisit']=="7 days")? 'selected="selected"' : '';?>>7 dias</option>
					    <option value="15 days" label="15 dias" <?php echo  ($this->Data['Revisit']=="15 days")? 'selected="selected"' : '';?>>15 dias</option>
					    <option value="30 days" label="30 dias" <?php echo  ($this->Data['Revisit']=="30 days")? 'selected="selected"' : '';?>>30 dias</option>
					</select>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->




	 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Idioma:</label>
				<div class="inputs">
					<select name="Language" id="Language">
				    <option value="English" label="Inglés" <?php echo  ($this->Data['Language']=="English")? 'selected="selected"' : '';?>>Inglés</option>
				    <option value="Spanish" label="Español" <?php echo  ($this->Data['Language']=="Spanish")? 'selected="selected"' : '';?>>Español</option>
				</select>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->




						<a href="<?php echo $this->baseUrl();?>/admin/taxes/" id="canceladd" class="buttonjui">Cancelar</a>
						<input type="submit" id="addtaxe" name="agregar"  value="guardar"  class="buttonjui" />
			    	
			    	</div>
			    </fieldset>
			    
			    	
			</form>		    



		</div>
	</div>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$(".buttonjui").button();
});
</script>